FROM golang:1.24.1

RUN mkdir -p /data/app && \
    mkdir -p /data/idl && \
    go env -w GOPROXY=https://goproxy.cn,direct && \
    go install github.com/cloudwego/kitex/tool/cmd/kitex@v0.13.1

WORKDIR /data/app

EXPOSE 8888

ENTRYPOINT ["tail", "-f", "/dev/null"]
#ENTRYPOINT ["/bin/bash", "./script/bootstrap_develop.sh"]